package com.ruoyi.system.api.domain;

import io.swagger.annotations.ApiModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 对象 sys_serial_max
 *
 * @author ruoyi
 * @date 2023-05-12
 */
@ApiModel("编号最大值")
public class SysSerialMax extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long maxId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long serialId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String condition;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer maxValue;

    private String strMaxValue;

    private String maxCode;

    public void setMaxId(Long maxId)
    {
        this.maxId = maxId;
    }

    public Long getMaxId()
    {
        return maxId;
    }
    public void setSerialId(Long serialId)
    {
        this.serialId = serialId;
    }

    public Long getSerialId()
    {
        return serialId;
    }
    public void setCondition(String condition)
    {
        this.condition = condition;
    }

    public String getCondition()
    {
        return condition;
    }

    public Integer getMaxValue() {
        return maxValue;
    }

    public void setMaxValue(Integer maxValue) {
        this.maxValue = maxValue;
    }

    public String getMaxCode() {
        return maxCode;
    }

    public void setMaxCode(String maxCode) {
        this.maxCode = maxCode;
    }

    public String getStrMaxValue() {
        return strMaxValue;
    }

    public void setStrMaxValue(String strMaxValue) {
        this.strMaxValue = strMaxValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("maxId", getMaxId())
                .append("serialId", getSerialId())
                .append("condition", getCondition())
                .append("maxValue", getMaxValue())
                .toString();
    }
}
